projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fba437e
)
(Freplace_match): If opoint is 0, that's relative to ZV.
author
Richard M. Stallman
<rms@gnu.org>
Mon, 2 Jun 1997 18:30:09 +0000
(18:30 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Mon, 2 Jun 1997 18:30:09 +0000
(18:30 +0000)
src/search.c
patch
|
blob
|
history
diff --git
a/src/search.c
b/src/search.c
index 88d22029b4eaa0bc92619ce1c41193d369631efb..2678dc313ce8354ee63b907021339dfbbd94cef0 100644
(file)
--- a/
src/search.c
+++ b/
src/search.c
@@
-1678,7
+1678,7
@@
since only regular expressions have distinguished subexpressions.")
newpoint = PT;
/* Put point back where it was in the text. */
- if (opoint < 0)
+ if (opoint <
=
0)
temp_set_point (opoint + ZV, current_buffer);
else
temp_set_point (opoint, current_buffer);